function vs:system/hub/menu/init/generic
execute positioned ~ ~-0.35 ~ run function vs:system/hub/menu/interaction_box/summon

data merge entity @s {item:{id:"barrier"},transformation:{scale:[0.5f,0.5f,0.5f]}}

data modify entity @s item.components."minecraft:custom_data".hubMenu.tips set value {"text":"???","color":"red"}
data modify entity @s item.components."minecraft:custom_data".hubMenu.click_command set value "?"

tag @s add hub.gameruleSettings.selectGamerule

function vs:system/hub/menu/gamerule_settings/read {index:0}